<?php
/**
 * Created by PhpStorm.
 * Loan: ASUS
 * Date: 2020/8/24
 * Time: 17:46
 */

namespace app\pcapi\validate;


use think\Validate;

class Admin extends Validate
{
    protected $rule =   [
        'admin'=> 'require|max:25',
        'password'=> 'require',
    ];

    protected $message  =   [
        'admin.require'=> '登录名必须',
        'admin.max'=> '登录名最多不能超过25个字符',
        'password.require' => '密码必须',
    ];
}